import request from '@/utils/request'

export function supplierShow(data) {
    return request({
      url: 'api/v5/supplier/show',
      method: 'get',
      params: data
    })
  }
export function supplierAdd(data) {
    return request({
      url: 'api/v5/supplier/store',
      method: 'post',
      data
    })
  }
  export function supplierEdit(data) {
    return request({
      url: 'api/v5/supplier/edit',
      method: 'put',
      data
    })
  }
  export function supplierDel(data) {
    return request({
      url: 'api/v5/supplier/destroy',
      method: 'delete',
      params: data
    })
  }